package com.zhuannimei.domain;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

import com.zhuannimei.GlobalApplication;

@Table(name = "znm_productuser")
public class ProductUser extends BaseDomain {
	@Id(column="userId")
	private String userId;
	private String userName;
	private String point;
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPoint() {
		return point;
	}

	public void setPoint(String point) {
		this.point = point;
	}

	// 持久化自己
	public void Save(ProductUser user) {
		GlobalApplication.appDB.save(user);
	}

}
